import { defineStore } from 'pinia';
import type { Fp } from '../type/Fp/Fp';

export const useFpStore=defineStore("Fp",{
    state: ()=>{
        const fpInfo : Fp ={}
        return {fpInfo}
    },
    actions : {
        serFpInfo(newFpInfo: Fp){
            this.fpInfo=newFpInfo;
        },
        removeFpInfo(){
            this.fpInfo={};
        }
    },
    persist :true
});
